package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单管理-vv对象 order
 * 
 * @author vv
 * @date 2025-06-30
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号，用于唯一标识每个订单 */
    private String orderId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userNickname;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 商品信息 */
    @Excel(name = "商品信息")
    private String productName;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal productPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Integer quantity;
    /** 数量 */
    @Excel(name = "商品id")
    private String pId;
    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private BigDecimal actualPayment;
    @Excel(name = "物流单号")
    private String ems;

    public String getEms() {
        return ems;
    }

    public void setEms(String ems) {
        this.ems = ems;
    }
    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;
    /** 订单状态 */
    @Excel(name = "商品编号")
    private String productCode;

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }
    @Excel(name = "邮费")
    private String emsPrice;
    @Excel(name = "省份编号")
    private String province1Code;
    @Excel(name = "城市编号")
    private String city1Code;
    @Excel(name = "详细地址")
    private String adss;
    @Excel(name = "省份")
    private String provinceName;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    @Excel(name = "城市")
    private String cityName;

    public String getProvince1Code() {
        return province1Code;
    }

    public void setProvince1Code(String province1Code) {
        this.province1Code = province1Code;
    }

    public String getAdss() {
        return adss;
    }

    public void setAdss(String adss) {
        this.adss = adss;
    }

    public String getCity1Code() {
        return city1Code;
    }

    public void setCity1Code(String city1Code) {
        this.city1Code = city1Code;
    }

    public String getEmsPrice() {
        return emsPrice;
    }

    public void setEmsPrice(String emsPrice) {
        this.emsPrice = emsPrice;
    }




    @Excel(name = "收货地址")
    private String  address;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
    @Excel(name = "配送方式")
    private String companyName;
    @Excel(name = "商品照片")
    private String productImage;

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    /** 快递外键 */
    private Integer kId;

    /** 成员(外键) */
    private Integer mId;

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setUserNickname(String userNickname)
    {
        this.userNickname = userNickname;
    }

    public String getUserNickname() 
    {
        return userNickname;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }

    public void setProductPrice(BigDecimal productPrice)
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice()
    {
        return productPrice;
    }

    public void setQuantity(Integer quantity) 
    {
        this.quantity = quantity;
    }

    public Integer getQuantity() 
    {
        return quantity;
    }

    public void setActualPayment(BigDecimal actualPayment) 
    {
        this.actualPayment = actualPayment;
    }

    public BigDecimal getActualPayment() 
    {
        return actualPayment;
    }

    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }





    public void setkId(Integer kId) 
    {
        this.kId = kId;
    }

    public Integer getkId() 
    {
        return kId;
    }

    public void setmId(Integer mId) 
    {
        this.mId = mId;
    }

    public Integer getmId() 
    {
        return mId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("userNickname", getUserNickname())
            .append("phoneNumber", getPhoneNumber())
            .append("productName", getProductName())
            .append("productPrice", getProductPrice())
            .append("quantity", getQuantity())
            .append("actualPayment", getActualPayment())
            .append("orderStatus", getOrderStatus())
            .append("createTime", getCreateTime())
            .append("kId", getkId())
            .append("mId", getmId())
            .toString();
    }
}
